[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Int 31 Fn 0506  P - DPMI 1.0+ - Get Page Attributes                        [E]

   AX = 0506h
   ESI = memory block handle
   EBX = offset in memory block of first page
   ECX = number of pages
   ES:EDX -> array of WORDs to hold page attributes (see below)

Return: CF clear if successful
       buffer filled
   CF set on error
       AX = error code (8001h,8023h,8025h) (see AX=0000h)

Notes: only supported by 32-bit DPMI hosts, but may be used by 16-bit clients
   if EBX is not page-aligned, it will be rounded down

See Also: AX=0504h,AX=0507h,INT 21/AX=251Dh,INT 21/AX=EB00h

Format of page attribute words:
 bits 0-2  page type
       000 uncommitted
       001 committed
       010 mapped (see AX=0508h,AX=0509h)
       other currently unused
 bit 3     page is read/write rather than read-only
 bit 4     accessed/dirty bits supplied in bits 5 and 6
 bit 5     page has been accessed (only valid if bit 4 set)
 bit 6     page has been written (only valid if bit 4 set)
 bits 7-15 reserved (0)

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson